home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 33R1 / Commodore_Free_Issue_33R1_2009_Commodore_Computer_Club.d64 / graphic tally < prev    next >
Text File  |  2023-02-26  |  2KB  |  68 lines

  1. .
  2. *************************************
  3.     Graphic Tally Commodore 16+4
  4.           By John Fielden
  5. *************************************
  6.  
  7. A demonstration program to show the
  8. use and form of the old fashioned
  9. Tally Mark.  An ingenious invention!
  10. That is the tally mark rather than
  11. the program. The latter has been
  12. written in such a way as to untangle
  13. the maths from it. So that bare
  14. numbers don't get in the way for the
  15. beginner to see how the plotting of
  16. screen graphics work.
  17.  
  18. I reiterate, there are other ways to
  19. write this program that others would
  20. consider faster coding.  But they
  21. didn't flunk maths and are on
  22. billions of currency, have big
  23. housing, "loving" wives and the rest
  24. of it. Swipe over for the month. I
  25. will help demonstrate in the next
  26. issue when we concentrate on
  27. generating SOUND on The C16/plus4 how
  28. an extra loop or two, some variable
  29. names, and the use of data statements
  30. not only allow us to repeat ourselves
  31. less, but give a whole new dimension
  32. to the programmes capabilities.
  33.  
  34. The lines up to 450 create the main
  35. demonstration with Graphics and text
  36. explaining the procedure. 455 to 500
  37. having started with the Graphic
  38. screen reverts back to the 'normal'
  39. text screen to reiterate what has
  40. been said. (not just because I learnt
  41. a new word -init- but to demonstrate
  42. the potential of using multi-screens
  43. -say "Yes John!").  510- Rounds off
  44. the demonstration.
  45.  
  46. The GRAPHIC statements occur with a
  47. specifically coded function.  Either
  48. consult the manual, if you have it.
  49. Or experiment with your own short
  50. programs.  The various errors will
  51. indicate where you're going wrong.
  52.  
  53. The CHAR statements are a special
  54. version of 'PRINT' where you can plot
  55. the column and row on screen of where
  56. you want to print.  Again play around
  57. with short progs. to work this out.
  58. The statement is useable on the
  59. normal screen as well as with
  60. graphics.
  61.  
  62. The DRAW statements as the name
  63. suggests prints graphics to screen.
  64. The FOR..NEXT loops slow the program
  65. down.  So that the user can take the
  66. information in.
  67.  
  68. ====================================